<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>首页</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
</head>

<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">直播间信息管理</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item"><a href="./view/category.html" target="my_iframe">分类</a></li>
                <li class="layui-nav-item"><a href="./view/anchor.html" target="my_iframe">直播间</a></li>
                <li class="layui-nav-item"><a href="./view/create.html" target="my_iframe">创建直播间</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                    <li class="layui-nav-item">
                        <a href="javascript:;">直播间</a>
                        <dl class="layui-nav-child">
                            <dd><a href="./view/anchor.html" target="my_iframe">直播列表</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a class="" href="javascript:;">分类管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="./view/category.html" target="my_iframe">分类列表</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>

        <div class="layui-body">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">
                <iframe id="myIframe" src="./view/anchor.html" frameborder="0" id="demoAdmin" name="my_iframe"
                    style="width: 100%; height: 580px;"></iframe>
            </div>
        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            © layui.com - 底部固定区域
        </div>
    </div>
</body>
<script src="./layui/layui.js"></script>
<script>
    layui.use(['element', 'layer', 'jquery'], function () {
        var element = layui.element,
            layer = layui.layer,
            $ = layui.jquery;

    });
</script>

</html>